<div class="modal-header">
    <!--    <button type="button" class="close" ng-click="cancel()">&times;</button>-->
    <div class="dropdown" style="float:right">
        <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown"
                style="padding: 0px 6px 0px;">
            <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
            <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="assignMe(taskDetailed)">Assign Me</a>
            </li>
            <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="takeOwnerShip(taskDetailed)">Take
                ownership</a></li>
            <li role="presentation" class="divider"></li>
            <li role="presentation"><a role="menuitem" tabindex="-1">Reassign</a></li>
        </ul>
    </div>
    <h4 class="modal-title">Task Edit: {{taskDetailed.name}}</h4>
</div>
<div class="modal-body">
    <div class="row" style="     padding: 10px;    padding-top: 0px;">
        <div class="col-md-12  col-sm-12 cel">
            <form name="form">
                <aa-Task-Default></aa-Task-Default>
                <aa-form></aa-form>
            </form>
        </div>
    </div>
</div>

<div class="modal-footer">
    <button type="button" class="btn btn-default" ng-click="cancel(taskDetailed);">Close</button>
    <button type="button" class="btn btn-primary" ng-click="finish(taskDetailed)" ng-disabled="form.$invalid">Finish Task</button>
</div>

